import 'package:flutter/material.dart';
import 'package:sudoku/util/widget_util.dart';

class AboutPage extends StatelessWidget {
  String text =
      "全新数独游戏，四种难度供你选择，简单操作下的无穷乐趣！\n\n画面简洁，手感极佳，玩家只需要将数字填入方格，成千上万的数独谜题等着您，以帮助您训练大脑。";

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
          commonBackground(),
          Scaffold(
            appBar: AppBar(
              title: const Text("关于APP"),
            ),
            body: Padding(
              padding: const EdgeInsets.all(15),
              child: Text(
                text,
                style: const TextStyle(
                    height: 1.6,
                    color: Colors.white,
                    fontSize: 17,
                    fontFamily: "Han"),
              ),
            ),
          )
        ],
      ),
    );
  }
}
